package com.example.baseapp.admin.dto.resp;

/**
 * RoleMenuDto class
 *
 * @author zhangl
 * @date 2022/4/29 14:52
 */

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
@Data
@Accessors(chain = true)
public class RoleMenuDto {
    /**
     * {
     *       "path": "/limits",
     *       "name": "limits",
     *       "component": "layout/routerView/parent",
     *       "redirect": "/limits/frontEnd",
     *       "meta": {
     *         "title": "message.router.limits",
     *         "isLink": "",
     *         "isHide": false,
     *         "isKeepAlive": true,
     *         "isAffix": false,
     *         "isIframe": false,
     *         "roles": ["admin", "common"],
     *         "icon": "iconfont icon-quanxian"
     *       },
     *       "children":
     *
     */
    private String path;
    private String name;
    private String component;
    private String redirect;
    private Boolean isLink;
    private List<RoleMenuDto> children ;
    private RoleMenuMeta meta;
}
